package jscinttools.utilities.plotterutilities;
import java.awt.Font;
import java.awt.Color;
import java.lang.String;

/**
 *  Interface to acces the axes labels of a plotter
 *
 *@author     Marc-Antoine Verdier
 *@created    19 juillet 2011
 */
public interface PlotLabel
{
	/**
	 *  Changes the font of the label
	 *
	 *@param  font  The font to be used
	 */
	public void changeFont(Font font);


	/**
	 *  Changes the color of the label
	 *
	 *@param  color  The color to be used
	 */
	public void changeColor(Color color);


	/**
	 *  Changes the text of the label
	 *
	 *@param  label  The text to be used
	 */
	public void labelText(String label);


	/**
	 *  Centers the label with respect to the pad or the canvas
	 */
	public void centerLabel();


	/**
	 *  Centers the label with respect to the pad or the canvas
	 *
	 *@param  distance  the distance in NDC coodinate from the pad or the canvas
	 */
	public void centerLabel(double distance);


	/**
	 *  Moves the label at the desired position
	 *
	 *@param  xPos  position in X (NDC coordinate)
	 *@param  yPos  position in Y(NDC coordinate)
	 */
	public void moveLabel(double xPos, double yPos);
}

